package com.evriko.commenterall.persistence;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

/**
 * @author Volodymyr.Petrusha pladimir@petrusha.net
 * @version $Id PersistenceManagerFactory.java 16:40:58
 */

public final class PMF {
	 private static final String TRANSACTIONS_OPTIONAL = "transactions-optional";
	 
	 private static final PersistenceManagerFactory pmfInstance =  
		 JDOHelper.getPersistenceManagerFactory(TRANSACTIONS_OPTIONAL);
	 
	 private PMF() { }
	 
	 public static PersistenceManagerFactory getFactory() {
		 return pmfInstance;
	 }
	 
}
